// 点击播放音乐

const eleMusic = document.querySelector('#music-birth')

const toggleMute = document.querySelector('.toggle-mute')

toggleMute.addEventListener('click', function (e) {
    e.stopPropagation()
    if (eleMusic.paused) {
        // document.body.style.backgroundColor = '#bcebbd'
        // 播放音乐
        eleMusic.play();
        return;
    }
    // 暂停音乐
    eleMusic.pause();
})
